import { request } from '@/utils/request/request';
import { RequestEnum } from '@/enums/httpEnum';

export const browseApi = {
  browseAdd: '/userBrowseLink/add',
} as const;

export const browseAdd = (data: API.browseAddData) => {
  return request({
    url: browseApi.browseAdd,
    method: RequestEnum.POST,
    data,
  });
};
